package com.jwater.core.metrics;
/**
 * @description:
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public class GcInfo {
	protected int index;
	protected String gcName;
	protected long collectionCount;
	protected long collectionTime;

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getGcName() {
		return gcName;
	}

	public void setGcName(String gcName) {
		this.gcName = gcName;
	}

	public long getCollectionCount() {
		return collectionCount;
	}

	public void setCollectionCount(long collectionCount) {
		this.collectionCount = collectionCount;
	}

	public long getCollectionTime() {
		return collectionTime;
	}

	public void setCollectionTime(long collectionTime) {
		this.collectionTime = collectionTime;
	}

	@Override
	public String toString() {
		return "GcInfo [index=" + index + ", gcName=" + gcName + ", collectionCount=" + collectionCount
				+ ", collectionTime=" + collectionTime + "]";
	}
}
